using System.ComponentModel;

namespace wpffc.contracts.infrastructure
{
    public class SharedState<T> : INotifyPropertyChanged
    {
        private T _value;
        public T Value
        {
            get { return _value; }
            set { _value = value; this.PropertyChanged(this, new PropertyChangedEventArgs("Value")); }
        }

        public event PropertyChangedEventHandler PropertyChanged = delegate { };
    }
}